﻿using System;
using System.Collections.Generic;
using System.Text;

namespace 调用类成员
{
    class Game
    {
        public string Name;
        public int age;
        public double height;
        public string profession;

        public void HZ()
        {
            Console.WriteLine("姓名：{0}  年龄：{1} 体重：{2} 职业：{3}",Name,age,height,profession);
        }
    }
}
